using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;
namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 培训任务单参训人员明细
    /// </summary>
    [SugarTable("CourseTrainUserDetail")]
    public class CourseTrainUserDetailEntity
    {
        /// <summary>
        /// 任务单主键 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainUserDetailId", IsPrimaryKey = true)]
        public string CourseTrainUserDetailId { get; set; }

        /// <summary>
        /// 任务单主键 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainTaskId")]
        public string CourseTrainTaskId { get; set; }

        /// <summary>
        /// 培训课程ID 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainId")]
        public string CourseTrainId { get; set; }

        /// <summary>
        /// 关键索引 
        /// </summary>
        [SugarColumn(ColumnName = "No")]
        public int? No { get; set; }

        /// <summary>
        /// 培训课程编号 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainCode")]
        public string CourseTrainCode { get; set; }

        /// <summary>
        /// 工号 
        /// </summary>
        [SugarColumn(ColumnName = "TrainUserWorknumber")]
        public string TrainUserWorknumber { get; set; }

        /// <summary>
        /// 姓名 
        /// </summary>
        [SugarColumn(ColumnName = "TrainUser")]
        public string TrainUser { get; set; }

        /// <summary>
        /// 部门  
        /// </summary>
        [SugarColumn(ColumnName = "DepartMent")]
        public string DepartMent { get; set; }

        /// <summary>
        /// 部门  
        /// </summary>
        [SugarColumn(ColumnName = "DepartMentCode")]
        public string DepartMentCode { get; set; }

        /// <summary>
        /// 职级 
        /// </summary>
        [SugarColumn(ColumnName = "Rank")]
        public string Rank { get; set; }

        /// <summary>
        /// 交通费 
        /// </summary>
        [SugarColumn(ColumnName = "TransportFee")]
        public decimal? TransportFee { get; set; }

        /// <summary>
        /// 住宿费 
        /// </summary>
        [SugarColumn(ColumnName = "HotelFee")]
        public decimal? HotelFee { get; set; }

        /// <summary>
        /// 津贴 
        /// </summary>
        [SugarColumn(ColumnName = "SubsideFee")]
        public decimal? SubsideFee { get; set; }

        /// <summary>
        /// 课程费用 
        /// </summary>
        [SugarColumn(ColumnName = "CourseFee")]
        public decimal? CourseFee { get; set; }

        /// <summary>
        /// 分摊费用 
        /// </summary>
        [SugarColumn(ColumnName = "ShareFee")]
        public decimal? ShareFee { get; set; }

        /// <summary>
        /// 用餐次数 
        /// </summary>
        [SugarColumn(ColumnName = "MealFrequency")]
        public int? MealFrequency { get; set; }

        /// <summary>
        /// 是否享受差旅津贴 
        /// </summary>
        [SugarColumn(ColumnName = "IfAllowance")]
        public bool? IfAllowance { get; set; }

        /// <summary>
        /// 考证下载 
        /// </summary>
        public string CertId { get; set; }

        /// <summary>
        /// 考证下载 
        /// </summary>
        public string CertName { get; set; }

        /// <summary>
        /// 满意度评估 
        /// </summary>
        [SugarColumn(ColumnName = "SafeLeave")]
        public string SafeLeave { get; set; }

        /// <summary>
        /// 培训项目
        /// </summary>
        public string TraningProject { get; set; }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string CourseName { get; set; }

        /// <summary>
        /// 证书截止日期
        /// </summary>
        public DateTime? CertEndDate { get; set; }

        /// <summary>
        /// 流程号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string CreateWorkNumber { get; set; }

        /// <summary>
        /// 是否需要证书
        /// </summary>
        public bool IsObtainCert { get; set; }

        /// <summary>
        /// 证书状态;0:未核准；1:已核准
        /// </summary>
        public int? CertStatus { get; set; }

        /// <summary>
        /// 证书核准日期
        /// </summary>
        public DateTime? ApproveDate { get; set; }

        /// <summary>
        /// 培训完成日期
        /// </summary>
        public DateTime? CompleteDate { get; set; }

        /// <summary>
        /// 同步年月
        /// </summary>
        public string ThridSyncDate { get; set; }
    }
}
